package puly.arr;
//高速路
public class FreeWay extends Road{
    private int speedLimit;
    public FreeWay(String name,int laneCount,int speedLimit){
        super(name, laneCount);
        this.speedLimit=speedLimit;
    }

    public int getSpeedLimit() {
        return speedLimit;
    }

    public void setSpeedLimit(int speedLimit) {
        this.speedLimit = speedLimit;
    }

}
